package ch4;

import java.lang.management.MonitorInfo;
import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Car {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        System.out.println("请输入你的存款：");
        double money=in.nextDouble();
        if(money>=500){
            System.out.println("买法拉利");
        }else if(money>=10 && money<100){
            System.out.println("买比亚迪-汉");
        }else if(money>=100){
            System.out.println("买奔驰大G");
        }else{
            System.out.println("买个永久二八大杠");
        }
    }
}
